package com.design.principle.interfaceSegregation;

/**
 * @program: designPattern
 * @description:
 * @author: STU756
 * @create: 2021-01-19 00:40
 */
//public class Dog implements IAnimal{
public class Dog implements IEatAnimal, ISwimAnimal {
    @Override
    public void eat() {

    }

    @Override
    public void swim() {

    }
}
